# @Desc    : do what 
# @Author  : meihongliang  
# @Time    : 2025-03-28 16:54
import time

a = '''+----------+-------+-------+----------+
|   时间   |  CPU  |  内存 |   网络   |
+----------+-------+-------+----------+'''
# print(a)
# for i in range(39):
#     print(f'\r===>{i}/39<====', end="")
#     time.sleep(0.1)

"""
A very minimal `cp` clone that displays a progress bar.
"""
from rich.progress import Progress
import time

with Progress() as progress:
    task1 = progress.add_task("[red]下载...", total=100)
    task2 = progress.add_task("[green]处理...", total=200)
    task3 = progress.add_task("[blue]压缩...", total=300)

    while not progress.finished:
        progress.update(task1, advance=0.5)
        progress.update(task2, advance=1)
        progress.update(task3, advance=1.5)
        time.sleep(0.01)